package com.xhj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xhj.entity.Role;

import java.util.List;
import java.util.Map;

/**
 * (Role)表服务接口
 *
 * @author makejava
 * @since 2021-03-16 12:51:20
 */
public interface RoleService extends IService<Role> {


    Map<String, Object> findRoleByUserId(String userId);

    void saveUserRoleRelationShip(String userId, String[] roleId);

    List<Role> selectRoleByUserId(String id);
}